//
//  HeroUsed.h
//  FruitCrush
//
//  Created by gaoyu on 15/7/30.
//
//

#ifndef __FruitCrush__HeroUsed__
#define __FruitCrush__HeroUsed__

#include "cocos2d.h"
USING_NS_CC;

#define HEROS_FIGHT_TYPE_KEY "fightHeroType"

class HeroUsed : public Ref
{
public:
    static HeroUsed* getInstance();
    
    HeroUsed();
    virtual ~HeroUsed();
    virtual bool init();
    int heroFightType;
    
    int getDamageByType(int type);
    int getHeroHealth();
    void setHeroFightType(int type);
};

#endif /* defined(__FruitCrush__HeroUsed__) */
